package com.banksoft.cps.service;

import com.banksoft.cps.bean.SupplierOutWarehouse;
import com.banksoft.cps.bean.common.ServiceException;
import com.banksoft.cps.bean.query.SupplierOutWarehouseQuery;
import com.banksoft.cps.bean.warpper.SupplierOutWarehouseWarpper;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/12.
 */
public interface SupplierOutWarehouseService {

    List<SupplierOutWarehouseWarpper> list(SupplierOutWarehouseQuery query);

    long count(SupplierOutWarehouseQuery query);

    void save(SupplierOutWarehouse bean) throws ServiceException;

    SupplierOutWarehouse findById(String id);

}
